package com.maven.demo.controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
public class FirstController {
	
	/**
	 * 测试
	 * @param songId
	 * @param model
	 * @param request
	 * @return
	 * */
	//http://127.0.0.1:8080/maven-demo/musicsearch/songDetails
	@RequestMapping(value = "/musicsearch/songDetails")
	public @ResponseBody List<Map<String,Object>> songDetails(Model model,HttpServletRequest request) {
		List<Map<String,Object>> listData=new ArrayList<Map<String,Object>>();
		return listData;
	}
}
